home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
021a
/
dancad3d.zip
/
DEMO.1
< prev
next >
Wrap
Text File
|
1990-11-21
|
5KB
|
232 lines
; gear demo v1.30
TRACE ON 0 ; 0 = no delay
del 2000
; small gear
ini
; tooth
ent
231 -60 -50 331 -40 -50
331 -40 -50 331 40 -50
331 40 -50 231 60 -50
231 60 -50 231 -60 -50
231 -60 50 331 -40 50
331 -40 50 331 40 50
331 40 50 231 60 50
231 60 50 231 -60 50
231 -60 50 231 -60 -50
331 -40 50 331 -40 -50
331 40 50 331 40 -50
231 60 50 231 60 -50
0 0 0 0 0 0
# 1 sav 3 temp.1
:s_l
load 3d temp.1
# 0 rot z 0 0 45
GoTo :s_l 6
# 1 rot z 0 0 45
pol 8 8 250 # 9 rot z 0 0 22.5 off c 0 0 -75
pol 8 8 250 # 10 rot z 0 0 22.5 off c 0 0 75
pol 32 32 75 off c 0 0 -75 ; holes
pol 32 32 75 off c 0 0 75
# 0 mag z 1 1 4
# 0 sav 3 small.3d
; end small gear
; large gear
ini
; tooth
ent
491 -60 -50 591 -40 -50
591 -40 -50 591 40 -50
591 40 -50 491 60 -50
491 60 -50 491 -60 -50
491 -60 50 591 -40 50
591 -40 50 591 40 50
591 40 50 491 60 50
491 60 50 491 -60 50
491 -60 50 491 -60 -50
591 -40 50 591 -40 -50
591 40 50 591 40 -50
491 60 50 491 60 -50
0 0 0 0 0 0
# 1 save 3d temp.1
:l_l
load 3d temp.1
# 0 rot z 0 0 22.5
GoTo :l_l 14
# 1 rot z 0 0 22.5
poly 16 16 500 # 17 rot z 0 0 11.25 off c 0 0 -75
poly 16 16 500 # 18 rot z 0 0 11.25 off c 0 0 75
poly 32 32 75 off c 0 0 -75 ; shaft holes
poly 32 32 75 off c 0 0 75
# 0 mag z 1 1 4
# 0 save 3d large.3d
; end large gear
trace off 500 ; delay to 1/2 second , turn it off
; show gears still
init
load 3d small.3d # 1 off c -302 0 0 rot c 0 0 22.5
load 3d large.3d # 2 off c 552 0 0
; border, this was drawn in [F] (front) from main menu and broght in
; by saving it ASCII and reading it in with ^K^R. It could just as well
; be on a file, but this saves disk space.
enter
-800 -700 0 1300 -700 0
1300 -700 0 1300 700 0
1300 700 0 -800 700 0
-800 700 0 -800 -700 0
0 0 0 0 0 0
Let
DANCAD 3D
-650 550 0 0 0 0 75 75 1 First
gra
# 0 Display 0 -18 0 -5000 1.3 1 -270 0
echo press [Return]
wait
text_mode
echo The next part of this demo shows how you can animate wire frames.
echo It is a perspective view of gears turning.
echo It turns 3 teeth then goes on to show you an animated "blue print" view.
echo If you have a hard disk you can change the "b:"s in the macros to c:
echo to make them run better.
echo -
echo If you order the two bonus disks for $7.50 you will get DANMOVIE
echo a program that lets you run sets of pixel frame files
echo from memory rapidly and smoothly with motion forward, reverse,
echo and, back & forth, at different speeds. It is usefull to see how
echo action will look in a film/video and to see how parts fit.
echo -
echo Press [Return] then ^C if you have seen all of the demo and want
echo to print out the perspective drawing of the gears. Then press [H]
echo (for hard copy) then [D] for dot or [P] for plotter.
echo -
echo press [Return] to continue the demo.
wait_for_return
text
echo <Working>
; moving in perspective
init
load 3d small.3d # 1 off c -302 0 0 rot c 0 0 22.5
load 3d large.3d # 2 off c 552 0 0
ent
-800 -700 0 1300 -700 0
1300 -700 0 1300 700 0
1300 700 0 -800 700 0
-800 700 0 -800 -700 0
0 0 0 0 0 0
Let
DANCAD 3D
-650 550 0 0 0 0 75 75 1 F
beep
echo -
echo Put a formated blank disk in drive b: then press [Return]
wait
name 1 = b:frame 0
:AA
gra
# 0 Dis 0 -18 0 -5000 1.3 1 -270 0
save pixel name 1 next
# 1 rot c 0 0 2.25
# 2 rot c 0 0 -1.125
goto :AA 19
Run show-20x.mac
; end show perspective
echo Press [Return]
wait
tex
echo The next part of this demo shows how you can animate close-up "blue print".
echo It is a "blue print" view of gears turning.
echo It turns 3 teeth.
echo If you have a hard disk you can change the "b:"s in the macros to c:
echo to make them run better.
echo -
echo press [Return] to continue the demo.
wait
; moving in close up
init
load 3d small.3d # 1 off c -302 0 0 rot c 0 0 22.5
load 3d large.3d # 2 off c 552 0 0
Let
DANCAD 3D
-620 367 0 0 0 0 20 40 2 F
beep
echo -
echo Put a formated blank disk in drive b: then press [Return]
wait
name 1 = b:frame 0
:bpl
gra
# 0 Dis 0 0 0 -1e18 2.37 1 0 0
save pixel name 1 next
# 1 rot c 0 0 2.25
# 2 rot c 0 0 -1.125
goto :bpl 19
Run show-20x.mac
; end close-up
echo Done. Press [Return] [F] [Return] [1] [+] [+] [Left] [*] to zoom in.
echo To clear the 3D workspace go to the main menu (by pressing [Return])
echo and press [I] (for initialize).
echo You can then press [F] (front) to start drawing your own elements!
wait
; end